package com.synergy.stockflow.production.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.synergy.stockflow.production.create.MrdOrMVo;
import com.synergy.stockflow.production.entity.MaterialRequisitionDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MaterialRequisitionDetailMapper extends BaseMapper<MaterialRequisitionDetail> {
    List<MrdOrMVo> selectByCode(@Param("requisitionCode") String requisitionCode);

    int deleteByRequisitionId(String requisitionId);
}